package com.qys.livesMall.app.user.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-08-12
 */
@Getter
@Setter
@TableName("h2_app_user_statistics_yesterday_info")
@Schema(name = "UserStatisticsYesterdayInfo", description = "用户充值、提现、注册、统计")
public class UserStatisticsYesterdayInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "充值金额")
    private BigDecimal recharge;

    @Schema(description = "累计充值金额")
    private BigDecimal totalRecharge;

    @Schema(description = "提现")
    private BigDecimal withdrawal;

    @Schema(description = "累计提现")
    private BigDecimal totalWithdrawal;

    @Schema(description = "充提差额")
    private BigDecimal differ;

    @Schema(description = "累计充提差")
    private BigDecimal totalDiffer;

    @Schema(description = "注册人数")
    private Integer register;

    @Schema(description = "累计注册人数")
    private Integer totalRegister;

    @Schema(description = "首次充值人数")
    private Integer firstRecharge;

    @Schema(description = "累计充值人数")
    private Integer totalFirstRecharge;

    @Schema(description = "复充人数")
    private Integer manyRecharge;

    @Schema(description = "累计复充人数")
    private Integer totalManyRecharge;

    @Schema(description = "提现人数")
    private Integer withdrawalPeople;

    @Schema(description = "累计提现人数")
    private Integer totalWithdrawalPeople;

    @Schema(description = "统计时间")
    private LocalDateTime dataTime;

    @Schema(description = "类型 用户0  店铺 1")
    private Integer type;

    @Schema(description = "用户系统类型（0：水军，1：正常用户）")
    private Integer userSysType;
}
